home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacApp Release 10 / MacApp Release 10 - HD Ready / Examples / A-Z / G / GridViews / Row Selection in Grid Views / TRowSelectGridView.h < prev    next >
Encoding:
Text File  |  1996-04-03  |  1019 b   |  37 lines  |  [TEXT/MPS ]

  1. // UViewSkeleton.h
  2. // Copyright © 1991-96 by Apple Computer, Inc. All rights reserved. 
  3.  
  4.  
  5. #ifndef __TRowSelectGridView__
  6. #define __TRowSelectGridView__
  7.  
  8. #ifndef __UGRIDVIEW__
  9. #include "UGridView.h"
  10. #endif
  11.  
  12. //----------------------------------------------------------------------------------------
  13. // TViewSkeleton
  14. //----------------------------------------------------------------------------------------
  15.  
  16. class TRowSelectGridView : public TTextGridView
  17. {
  18.     MA_DECLARE_CLASS;
  19. public:
  20.     TRowSelectGridView();
  21.     virtual ~TRowSelectGridView();
  22.     
  23.     virtual void DoMouseCommand(VPoint&            theMouse,
  24.                                 TToolboxEvent*    event,
  25.                                 CPoint            hysteresis);
  26.     virtual void GetText(GridCell aCell, CStr255& aString);
  27. };
  28.  
  29. //----------------------------------------------------------------------------------------
  30. // Global initialization procedure
  31. //----------------------------------------------------------------------------------------
  32.  
  33. extern void InitTRowSelectGridView();
  34.     // Call this routine at initialization time
  35.  
  36. #endif
  37.